package chapter.job3;
//猫有名字,体重,体力等属性,
public class Cat  {
    public String name;
    public double weight;
    public int power;

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Cat(String name, double weight, int power) {
        this.name = name;
        this.weight = weight;
        this.power = power;
    }

    public Cat() {
    }
}
